int __dummy();

typedef int (*funcP)();

typedef struct {
    char* fijo;
    funcP reloc;
} Coso;


int __attribute__ ((visibility("hidden"))) boot_vm()
{
  const Coso coso = { "ho", __dummy };
  int rv = 3;

  if(coso.fijo[0] != 'h' || coso.fijo[1] != 'o')
      return -1;

  rv += coso.reloc();

  if(rv != 0xdeadbef2)
      return -1;

  return 0;
}

int __dummy() {
  return 0xdeadbeef;
}

